package com.scujj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scujj.pojo.Blog;
import com.scujj.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogMapper extends BaseMapper<Blog> {
    List<Blog> getLastBlogList(int l,int o);
    List<Blog> getHotBlogList(int l,int o);
    List<Blog> getSubscribeBlogList(int l,int o,List<User> userList);
}
